﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addStudent.aspx.cs" Inherits="adminstrator_addStudent" %>
<!--添加学生信息页面-->
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body style="height:450px;margin:0;padding:0;">
    <form id="form1" runat="server">
    <div style="background:#95d1d2;margin:0 auto;margin-top:10px;text-align:center;width:700px;height:400px;">
    <table border="0" style="width:700px;">
        <tr style="height:100px">
            <td colspan="2" style="font-size:25px;font-weight:bold;">添加学生信息</td>
        </tr>
        <tr style="height:35px;"><!--第二行-->
            <td style="width:230px;text-align:right;font-size:20px;font-weight:bold">学号</td>
            <td style="width:370px;text-align:left;"><asp:TextBox runat="server" ID="UserNo" Width="200px" Height="25px" Font-Size="20px" MaxLength="10"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="UserNo"
                    ErrorMessage="*学号不能为空" ForeColor="Red" Font-Size="16px"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr style="height:35px;"><!--第三行-->
            <td style="width:230px;text-align:right;font-size:20px;font-weight:bold">姓名</td>
            <td style="width:370px;text-align:left;"><asp:TextBox runat="server" ID="UserName" Width="200px" Height="25px" Font-Size="20px" MaxLength="10"></asp:TextBox>
                <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator2" ControlToValidate="UserName"
                    ErrorMessage="*姓名不能为空" ForeColor="Red" Font-Size="16px"></asp:RequiredFieldValidator>
            </td>
        </tr>
         <tr style="height:35px;"><!--第四行-->
            <td style="width:230px;text-align:right;font-size:20px;font-weight:bold">性别</td>
             <td style="text-align:left;">
                 <asp:RadioButton ID="RadioButtonMan" runat="server" GroupName="sel" Text="男" Font-Size="20px" />
                 <asp:RadioButton ID="RadioButtonWoman" runat="server" GroupName="sel" Text="女" Font-Size="20px" />
             </td>
             </tr>
        <tr style="height:35px;"><!--第五行-->
            <td style="width:230px;text-align:right;font-size:20px;font-weight:bold">民族</td>
             <td style="text-align:left;">
                 <asp:DropDownList runat="server" ID="DropDownListNation" Width="120px" Font-Size="20px" AutoPostBack="true">
                     <asp:ListItem>汉族</asp:ListItem>
                     <asp:ListItem>壮族</asp:ListItem>
                     <asp:ListItem>瑶族</asp:ListItem>
                     <asp:ListItem>苗族</asp:ListItem>
                     <asp:ListItem>毛南族</asp:ListItem>
                     <asp:ListItem>其他民族</asp:ListItem>
                 </asp:DropDownList>
             </td></tr>
        <tr style="height:35px;"><!--第六行-->
            <td style="width:230px;text-align:right;font-size:20px;font-weight:bold">学院</td>
             <td style="text-align:left;">
                 <asp:DropDownList runat="server" ID="DropDownListCollege" Width="210px" Font-Size="20px" AutoPostBack="true">
                     <asp:ListItem>公管学院</asp:ListItem>
                     <asp:ListItem>药学院</asp:ListItem>
                     <asp:ListItem>基础医学院</asp:ListItem>
                     <asp:ListItem>针推学院</asp:ListItem>
                     <asp:ListItem>骨伤学院</asp:ListItem>
                     <asp:ListItem>壮医药学院</asp:ListItem>
                 </asp:DropDownList>
             </td></tr>
       
        <tr style="height:60px">
            <td colspan="2" style="font-size:25px;font-weight:bold">
                <asp:Button runat="server" ID="ButtonOK" Text="确定" Font-Size="20px" Width="90px" Height="35px" OnClick="ButtonOK_Click" />
                <asp:Button runat="server" ID="ButtonReset" Text="重置" Font-Size="20px" Width="90px" Height="35px" OnClick="ButtonReset_Click" CausesValidation="false" />
            </td>
        </tr>      
    </table>
        <asp:Label ID="LabelError" runat="server" Text="Label"></asp:Label>
    </div>
    </form>
</body>
</html>
